package utils;

import GameObject.ChessBoard;

public class POINT {

    public int x;
    public int y;

    public POINT() {
        x = -1;
        y = -1;
    }
    public POINT(int a, int b){
        x=a;
        y=b;
    }
    
    public Vector3 toVector3(){
        float unit = ChessBoard.CELL_UNIT;
        return new Vector3(x*unit - unit*5, 0, y*unit - 5.5f*unit);
    }
}
